/*
 * main.cpp
 *
 *  Created on: Aug 22, 2011
 *      Author: erudhes
 */
#include <wx/socket.h>
#include "App.h"
#include "MainFrame.h"

IMPLEMENT_APP(App)

// TODO: Now the basics are working almost perfectly...start to implement gameplay itself...

bool App::OnInit()
{
	MainFrame* mainFrame = NULL;

	// Load the configuration file
	mConfiguration = new Configuration::Configuration(wxT("config.xml"));
	mainFrame = new MainFrame(wxT("Main Frame"));
	wxSocketBase::Initialize();
	mainFrame->Show(true);

    return true;
}
